import lib.problem as problem
import lib.arithmetics as arithmetics

class Problem020(problem.Problem):
	def __init__(self):
		problem.Problem.__init__(self, 20)
		
	def solve(self):
		s = str(int(arithmetics.factorial(100)))
		
		sum = 0
		for c in s:
			sum += int(c)
			
		return sum

	
if __name__ == "__main__":
	print(Problem020().solveAndTime())